﻿@model FileModel
@{
  ViewBag.Title = "Edit Image";
}

@using (Html.BeginForm("Update", "Home", FormMethod.Post, new { enctype = "multipart/form-data" }))
{
  <input type="file" id="file" name="file" />
  <input type="submit" value="Upload" />
  <input type="hidden" id="id" name="id" value="@Model.Id" />
}